package com.sandking.db.bean;

import com.sandking.db.cache.TzjlCache;
import java.util.Map;
import com.sandking.db.cache.YhxjCache;
import com.sandking.io.SK_OutputStream;
import com.sandking.db.cache.FwqCache;
import com.sandking.db.cache.YhlxCache;
import java.util.HashMap;
import com.sandking.db.cache.ZadlCache;
import com.sandking.db.cache.YhzaCache;
import com.sandking.db.cache.LtCache;
import com.sandking.db.cache.ZbCache;
import com.sandking.db.cache.XdjlCache;
import com.sandking.io.SK_InputStream;
import com.sandking.db.cache.YhyxCache;
import com.sandking.db.cache.YhyjCache;
import com.sandking.db.cache.YhbbCache;
import java.io.ByteArrayInputStream;
import com.sandking.db.cache.YhfbCache;
import java.io.ByteArrayOutputStream;
import com.sandking.tools.SK_Map;
import java.util.ArrayList;
import com.alibaba.fastjson.JSON;
import com.sandking.db.cache.YhxddxCache;
import java.util.List;
import com.sandking.db.cache.LmsjCache;
import com.sandking.db.cache.YhjjdxCache;
import com.sandking.db.cache.YhxlCache;
import com.sandking.db.cache.YhjzCache;
import com.sandking.db.cache.YhxzCache;
import com.sandking.db.cache.YhCache;
import com.sandking.db.cache.JzdlCache;
import com.sandking.db.cache.BydlCache;
import com.sandking.db.cache.YhzsCache;
import com.sandking.db.cache.YhrwCache;
import com.sandking.db.cache.YhljxxCache;
import com.sandking.db.cache.YhmrxxCache;
import com.sandking.db.cache.LmCache;

/**
 * 用户
 */
public class Yh {

	public static final String TABLENAME = "用户";
	public static final String CLASSNAME = "Yh"; 
	/**
	 * 需要更新字段集
	 */
	private Map<String, Object> updateColumns;

	/** id */
	private int id;
	
	/** 昵称 */
	private String nc;
	
	/** 创建时间 */
	private java.util.Date cjsj;
	
	/** 最后登录时间 */
	private java.util.Date zhdlsj;
	
	/** 语言 */
	private String yy;
	
	/** 账号 */
	private String zh;
	
	/** 密码 */
	private String mm;
	
	/** 宝石 */
	private int bs;
	
	/** 假宝石 */
	private int jbs;
	
	/** 金币 */
	private int jb;
	
	/** 水 */
	private int s;
	
	/** 体力 */
	private int tl;
	
	/** 修炼点 */
	private int xld;
	
	/** 设备 */
	private String sb;
	
	/** 设备系统 */
	private String sbxt;
	
	/** 设备编号 */
	private String sbbh;
	
	/** 分辨率 */
	private String fbl;
	
	/** 渠道 */
	private String qd;
	
	/** 用户类型_id */
	private int yhlx_id;
	
	/** 用户lvl */
	private int yhlvl;
	
	/** 用户lvl_exp */
	private int yhlvl_exp;
	
	/** vip */
	private int vip;
	
	/** vip_exp */
	private int vip_exp;
	
	/** 充值金额 */
	private int czje;
	
	/** 幸运 */
	private int xy;
	
	/** 客户端版本 */
	private String khdbb;
	
	/** 服务器_id */
	private int fwq_id;
	
	/** 主城lvl */
	private int zclvl;
	
	/** 农民总数 */
	private int nmzs;
	
	/** 空闲农民 */
	private int kxnm;
	
	/** 联盟_id */
	private int lm_id;
	
	/** 被他人锁定id */
	private int btrsdid;
	
	/** 锁定其他人id */
	private int sdqtrid;
	
	/** 反击锁定 */
	private boolean fjsd;
	
	/** 在线 */
	private boolean zx;
	
	/** 新手任务索引 */
	private int xsrwsy;
	
	/** 十里挑一最后时间 */
	private java.util.Date sltyzhsj;
	
	/** 百里挑一最后时间 */
	private java.util.Date bltyzhsj;
	
	/** 万里挑一最后时间 */
	private java.util.Date wltyzhsj;
	
	/** 十里挑一剩余次数 */
	private int sltysycs;
	
	/** 百里挑一剩余次数 */
	private int bltysycs;
	
	/** 万里挑一剩余次数 */
	private int wltysycs;
	
	/** 抽取技能最后时间 */
	private java.util.Date cqjnzhsj;
	
	/** 免费抽取技能次数 */
	private int mfcqjncs;
	
	/** 障碍刷新时间 */
	private java.util.Date zasxsj;
	
	/** 战斗保护时间 */
	private java.util.Date zdbhsj;
	
	/** 最后被攻击时间 */
	private java.util.Date zhbgjsj;
	
	/** 更新体力时间 */
	private java.util.Date gxtlsj;
	
	/** 开启副本id */
	private int kqfbid;
	
	/** 战斗力 */
	private int zdl;
	
	/** 竞技场exp */
	private int jjcexp;
	
	/** 竞技场领奖时间 */
	private java.util.Date jjcljsj;
	
	/** 修炼点更新时间 */
	private java.util.Date xldgxsj;
	
	/** 剩余挑战次数 */
	private int sytzcs;
	
	/** 最后挑战时间 */
	private java.util.Date zhtzsj;
	
	/** 购买卡包数 */
	private int gmkbs;
	
	/** 一天护盾冷却时间 */
	private java.util.Date ythdlqsj;
	
	/** 两天护盾冷却时间 */
	private java.util.Date lthdlqsj;
	
	/** 一周护盾冷却时间 */
	private java.util.Date yzhdlqsj;
	
	/** 王座上最高等级英雄id */
	private int wzszgdjyxid;
	
	/** 王座上最高等级英雄lvl */
	private int wzszgdjyxlvl;
	
	/** 出兵范围 */
	private String cbfw;
	
	
	public Yh() {
		super();
	}
	
	public Yh(int id, String nc, java.util.Date cjsj, java.util.Date zhdlsj, String yy, String zh, String mm, int bs, int jbs, int jb, int s, int tl, int xld, String sb, String sbxt, String sbbh, String fbl, String qd, int yhlx_id, int yhlvl, int yhlvl_exp, int vip, int vip_exp, int czje, int xy, String khdbb, int fwq_id, int zclvl, int nmzs, int kxnm, int lm_id, int btrsdid, int sdqtrid, boolean fjsd, boolean zx, int xsrwsy, java.util.Date sltyzhsj, java.util.Date bltyzhsj, java.util.Date wltyzhsj, int sltysycs, int bltysycs, int wltysycs, java.util.Date cqjnzhsj, int mfcqjncs, java.util.Date zasxsj, java.util.Date zdbhsj, java.util.Date zhbgjsj, java.util.Date gxtlsj, int kqfbid, int zdl, int jjcexp, java.util.Date jjcljsj, java.util.Date xldgxsj, int sytzcs, java.util.Date zhtzsj, int gmkbs, java.util.Date ythdlqsj, java.util.Date lthdlqsj, java.util.Date yzhdlqsj, int wzszgdjyxid, int wzszgdjyxlvl, String cbfw) {
		super();
		this.id = id;
		this.nc = nc;
		this.cjsj = cjsj;
		this.zhdlsj = zhdlsj;
		this.yy = yy;
		this.zh = zh;
		this.mm = mm;
		this.bs = bs;
		this.jbs = jbs;
		this.jb = jb;
		this.s = s;
		this.tl = tl;
		this.xld = xld;
		this.sb = sb;
		this.sbxt = sbxt;
		this.sbbh = sbbh;
		this.fbl = fbl;
		this.qd = qd;
		this.yhlx_id = yhlx_id;
		this.yhlvl = yhlvl;
		this.yhlvl_exp = yhlvl_exp;
		this.vip = vip;
		this.vip_exp = vip_exp;
		this.czje = czje;
		this.xy = xy;
		this.khdbb = khdbb;
		this.fwq_id = fwq_id;
		this.zclvl = zclvl;
		this.nmzs = nmzs;
		this.kxnm = kxnm;
		this.lm_id = lm_id;
		this.btrsdid = btrsdid;
		this.sdqtrid = sdqtrid;
		this.fjsd = fjsd;
		this.zx = zx;
		this.xsrwsy = xsrwsy;
		this.sltyzhsj = sltyzhsj;
		this.bltyzhsj = bltyzhsj;
		this.wltyzhsj = wltyzhsj;
		this.sltysycs = sltysycs;
		this.bltysycs = bltysycs;
		this.wltysycs = wltysycs;
		this.cqjnzhsj = cqjnzhsj;
		this.mfcqjncs = mfcqjncs;
		this.zasxsj = zasxsj;
		this.zdbhsj = zdbhsj;
		this.zhbgjsj = zhbgjsj;
		this.gxtlsj = gxtlsj;
		this.kqfbid = kqfbid;
		this.zdl = zdl;
		this.jjcexp = jjcexp;
		this.jjcljsj = jjcljsj;
		this.xldgxsj = xldgxsj;
		this.sytzcs = sytzcs;
		this.zhtzsj = zhtzsj;
		this.gmkbs = gmkbs;
		this.ythdlqsj = ythdlqsj;
		this.lthdlqsj = lthdlqsj;
		this.yzhdlqsj = yzhdlqsj;
		this.wzszgdjyxid = wzszgdjyxid;
		this.wzszgdjyxlvl = wzszgdjyxlvl;
		this.cbfw = cbfw;
	}
	
	public Map<String, Object> getUpdateColumns() {
		if(updateColumns == null)
			updateColumns = new HashMap<String, Object>();
		return updateColumns;
	}
	
	public int getId() {
		return id;
	}
	
	public void setId(int id) {
		this.id = id;
		addUpdateColumn("id",id);
	}
	
	public void changeIdWith(int id){
		this.id += id;
		setId(this.id);
	}
	
	public void changeIdWithMin(int id,int min){
		this.id += id;
		this.id = this.id < min ? min : this.id;
		setId(this.id);
	}
	
	public void changeIdWithMax(int id,int max){
		this.id += id;
		this.id = this.id > max ? max : this.id;
		setId(this.id);
	}
	
	public void changeIdWithMaxMin(int id,int max,int min){
		this.id += id;
		this.id = this.id < min ? min : this.id;
		this.id = this.id > max ? max : this.id;
		setId(this.id);
	}	
	public String getNc() {
		return nc;
	}
	
	public void setNc(String nc) {
		this.nc = nc;
		addUpdateColumn("昵称",nc);
	}
	
	public java.util.Date getCjsj() {
		return cjsj;
	}
	
	public void setCjsj(java.util.Date cjsj) {
		this.cjsj = cjsj;
		addUpdateColumn("创建时间",cjsj);
	}
	
	public java.util.Date getZhdlsj() {
		return zhdlsj;
	}
	
	public void setZhdlsj(java.util.Date zhdlsj) {
		this.zhdlsj = zhdlsj;
		addUpdateColumn("最后登录时间",zhdlsj);
	}
	
	public String getYy() {
		return yy;
	}
	
	public void setYy(String yy) {
		this.yy = yy;
		addUpdateColumn("语言",yy);
	}
	
	public String getZh() {
		return zh;
	}
	
	public void setZh(String zh) {
		this.zh = zh;
		addUpdateColumn("账号",zh);
	}
	
	public String getMm() {
		return mm;
	}
	
	public void setMm(String mm) {
		this.mm = mm;
		addUpdateColumn("密码",mm);
	}
	
	public int getBs() {
		return bs;
	}
	
	public void setBs(int bs) {
		this.bs = bs;
		addUpdateColumn("宝石",bs);
	}
	
	public void changeBsWith(int bs){
		this.bs += bs;
		setBs(this.bs);
	}
	
	public void changeBsWithMin(int bs,int min){
		this.bs += bs;
		this.bs = this.bs < min ? min : this.bs;
		setBs(this.bs);
	}
	
	public void changeBsWithMax(int bs,int max){
		this.bs += bs;
		this.bs = this.bs > max ? max : this.bs;
		setBs(this.bs);
	}
	
	public void changeBsWithMaxMin(int bs,int max,int min){
		this.bs += bs;
		this.bs = this.bs < min ? min : this.bs;
		this.bs = this.bs > max ? max : this.bs;
		setBs(this.bs);
	}	
	public int getJbs() {
		return jbs;
	}
	
	public void setJbs(int jbs) {
		this.jbs = jbs;
		addUpdateColumn("假宝石",jbs);
	}
	
	public void changeJbsWith(int jbs){
		this.jbs += jbs;
		setJbs(this.jbs);
	}
	
	public void changeJbsWithMin(int jbs,int min){
		this.jbs += jbs;
		this.jbs = this.jbs < min ? min : this.jbs;
		setJbs(this.jbs);
	}
	
	public void changeJbsWithMax(int jbs,int max){
		this.jbs += jbs;
		this.jbs = this.jbs > max ? max : this.jbs;
		setJbs(this.jbs);
	}
	
	public void changeJbsWithMaxMin(int jbs,int max,int min){
		this.jbs += jbs;
		this.jbs = this.jbs < min ? min : this.jbs;
		this.jbs = this.jbs > max ? max : this.jbs;
		setJbs(this.jbs);
	}	
	public int getJb() {
		return jb;
	}
	
	public void setJb(int jb) {
		this.jb = jb;
		addUpdateColumn("金币",jb);
	}
	
	public void changeJbWith(int jb){
		this.jb += jb;
		setJb(this.jb);
	}
	
	public void changeJbWithMin(int jb,int min){
		this.jb += jb;
		this.jb = this.jb < min ? min : this.jb;
		setJb(this.jb);
	}
	
	public void changeJbWithMax(int jb,int max){
		this.jb += jb;
		this.jb = this.jb > max ? max : this.jb;
		setJb(this.jb);
	}
	
	public void changeJbWithMaxMin(int jb,int max,int min){
		this.jb += jb;
		this.jb = this.jb < min ? min : this.jb;
		this.jb = this.jb > max ? max : this.jb;
		setJb(this.jb);
	}	
	public int getS() {
		return s;
	}
	
	public void setS(int s) {
		this.s = s;
		addUpdateColumn("水",s);
	}
	
	public void changeSWith(int s){
		this.s += s;
		setS(this.s);
	}
	
	public void changeSWithMin(int s,int min){
		this.s += s;
		this.s = this.s < min ? min : this.s;
		setS(this.s);
	}
	
	public void changeSWithMax(int s,int max){
		this.s += s;
		this.s = this.s > max ? max : this.s;
		setS(this.s);
	}
	
	public void changeSWithMaxMin(int s,int max,int min){
		this.s += s;
		this.s = this.s < min ? min : this.s;
		this.s = this.s > max ? max : this.s;
		setS(this.s);
	}	
	public int getTl() {
		return tl;
	}
	
	public void setTl(int tl) {
		this.tl = tl;
		addUpdateColumn("体力",tl);
	}
	
	public void changeTlWith(int tl){
		this.tl += tl;
		setTl(this.tl);
	}
	
	public void changeTlWithMin(int tl,int min){
		this.tl += tl;
		this.tl = this.tl < min ? min : this.tl;
		setTl(this.tl);
	}
	
	public void changeTlWithMax(int tl,int max){
		this.tl += tl;
		this.tl = this.tl > max ? max : this.tl;
		setTl(this.tl);
	}
	
	public void changeTlWithMaxMin(int tl,int max,int min){
		this.tl += tl;
		this.tl = this.tl < min ? min : this.tl;
		this.tl = this.tl > max ? max : this.tl;
		setTl(this.tl);
	}	
	public int getXld() {
		return xld;
	}
	
	public void setXld(int xld) {
		this.xld = xld;
		addUpdateColumn("修炼点",xld);
	}
	
	public void changeXldWith(int xld){
		this.xld += xld;
		setXld(this.xld);
	}
	
	public void changeXldWithMin(int xld,int min){
		this.xld += xld;
		this.xld = this.xld < min ? min : this.xld;
		setXld(this.xld);
	}
	
	public void changeXldWithMax(int xld,int max){
		this.xld += xld;
		this.xld = this.xld > max ? max : this.xld;
		setXld(this.xld);
	}
	
	public void changeXldWithMaxMin(int xld,int max,int min){
		this.xld += xld;
		this.xld = this.xld < min ? min : this.xld;
		this.xld = this.xld > max ? max : this.xld;
		setXld(this.xld);
	}	
	public String getSb() {
		return sb;
	}
	
	public void setSb(String sb) {
		this.sb = sb;
		addUpdateColumn("设备",sb);
	}
	
	public String getSbxt() {
		return sbxt;
	}
	
	public void setSbxt(String sbxt) {
		this.sbxt = sbxt;
		addUpdateColumn("设备系统",sbxt);
	}
	
	public String getSbbh() {
		return sbbh;
	}
	
	public void setSbbh(String sbbh) {
		this.sbbh = sbbh;
		addUpdateColumn("设备编号",sbbh);
	}
	
	public String getFbl() {
		return fbl;
	}
	
	public void setFbl(String fbl) {
		this.fbl = fbl;
		addUpdateColumn("分辨率",fbl);
	}
	
	public String getQd() {
		return qd;
	}
	
	public void setQd(String qd) {
		this.qd = qd;
		addUpdateColumn("渠道",qd);
	}
	
	public int getYhlx_id() {
		return yhlx_id;
	}
	
	public void setYhlx_id(int yhlx_id) {
		this.yhlx_id = yhlx_id;
		addUpdateColumn("用户类型_id",yhlx_id);
	}
	
	public void changeYhlx_idWith(int yhlx_id){
		this.yhlx_id += yhlx_id;
		setYhlx_id(this.yhlx_id);
	}
	
	public void changeYhlx_idWithMin(int yhlx_id,int min){
		this.yhlx_id += yhlx_id;
		this.yhlx_id = this.yhlx_id < min ? min : this.yhlx_id;
		setYhlx_id(this.yhlx_id);
	}
	
	public void changeYhlx_idWithMax(int yhlx_id,int max){
		this.yhlx_id += yhlx_id;
		this.yhlx_id = this.yhlx_id > max ? max : this.yhlx_id;
		setYhlx_id(this.yhlx_id);
	}
	
	public void changeYhlx_idWithMaxMin(int yhlx_id,int max,int min){
		this.yhlx_id += yhlx_id;
		this.yhlx_id = this.yhlx_id < min ? min : this.yhlx_id;
		this.yhlx_id = this.yhlx_id > max ? max : this.yhlx_id;
		setYhlx_id(this.yhlx_id);
	}	
	public int getYhlvl() {
		return yhlvl;
	}
	
	public void setYhlvl(int yhlvl) {
		this.yhlvl = yhlvl;
		addUpdateColumn("用户lvl",yhlvl);
	}
	
	public void changeYhlvlWith(int yhlvl){
		this.yhlvl += yhlvl;
		setYhlvl(this.yhlvl);
	}
	
	public void changeYhlvlWithMin(int yhlvl,int min){
		this.yhlvl += yhlvl;
		this.yhlvl = this.yhlvl < min ? min : this.yhlvl;
		setYhlvl(this.yhlvl);
	}
	
	public void changeYhlvlWithMax(int yhlvl,int max){
		this.yhlvl += yhlvl;
		this.yhlvl = this.yhlvl > max ? max : this.yhlvl;
		setYhlvl(this.yhlvl);
	}
	
	public void changeYhlvlWithMaxMin(int yhlvl,int max,int min){
		this.yhlvl += yhlvl;
		this.yhlvl = this.yhlvl < min ? min : this.yhlvl;
		this.yhlvl = this.yhlvl > max ? max : this.yhlvl;
		setYhlvl(this.yhlvl);
	}	
	public int getYhlvl_exp() {
		return yhlvl_exp;
	}
	
	public void setYhlvl_exp(int yhlvl_exp) {
		this.yhlvl_exp = yhlvl_exp;
		addUpdateColumn("用户lvl_exp",yhlvl_exp);
	}
	
	public void changeYhlvl_expWith(int yhlvl_exp){
		this.yhlvl_exp += yhlvl_exp;
		setYhlvl_exp(this.yhlvl_exp);
	}
	
	public void changeYhlvl_expWithMin(int yhlvl_exp,int min){
		this.yhlvl_exp += yhlvl_exp;
		this.yhlvl_exp = this.yhlvl_exp < min ? min : this.yhlvl_exp;
		setYhlvl_exp(this.yhlvl_exp);
	}
	
	public void changeYhlvl_expWithMax(int yhlvl_exp,int max){
		this.yhlvl_exp += yhlvl_exp;
		this.yhlvl_exp = this.yhlvl_exp > max ? max : this.yhlvl_exp;
		setYhlvl_exp(this.yhlvl_exp);
	}
	
	public void changeYhlvl_expWithMaxMin(int yhlvl_exp,int max,int min){
		this.yhlvl_exp += yhlvl_exp;
		this.yhlvl_exp = this.yhlvl_exp < min ? min : this.yhlvl_exp;
		this.yhlvl_exp = this.yhlvl_exp > max ? max : this.yhlvl_exp;
		setYhlvl_exp(this.yhlvl_exp);
	}	
	public int getVip() {
		return vip;
	}
	
	public void setVip(int vip) {
		this.vip = vip;
		addUpdateColumn("vip",vip);
	}
	
	public void changeVipWith(int vip){
		this.vip += vip;
		setVip(this.vip);
	}
	
	public void changeVipWithMin(int vip,int min){
		this.vip += vip;
		this.vip = this.vip < min ? min : this.vip;
		setVip(this.vip);
	}
	
	public void changeVipWithMax(int vip,int max){
		this.vip += vip;
		this.vip = this.vip > max ? max : this.vip;
		setVip(this.vip);
	}
	
	public void changeVipWithMaxMin(int vip,int max,int min){
		this.vip += vip;
		this.vip = this.vip < min ? min : this.vip;
		this.vip = this.vip > max ? max : this.vip;
		setVip(this.vip);
	}	
	public int getVip_exp() {
		return vip_exp;
	}
	
	public void setVip_exp(int vip_exp) {
		this.vip_exp = vip_exp;
		addUpdateColumn("vip_exp",vip_exp);
	}
	
	public void changeVip_expWith(int vip_exp){
		this.vip_exp += vip_exp;
		setVip_exp(this.vip_exp);
	}
	
	public void changeVip_expWithMin(int vip_exp,int min){
		this.vip_exp += vip_exp;
		this.vip_exp = this.vip_exp < min ? min : this.vip_exp;
		setVip_exp(this.vip_exp);
	}
	
	public void changeVip_expWithMax(int vip_exp,int max){
		this.vip_exp += vip_exp;
		this.vip_exp = this.vip_exp > max ? max : this.vip_exp;
		setVip_exp(this.vip_exp);
	}
	
	public void changeVip_expWithMaxMin(int vip_exp,int max,int min){
		this.vip_exp += vip_exp;
		this.vip_exp = this.vip_exp < min ? min : this.vip_exp;
		this.vip_exp = this.vip_exp > max ? max : this.vip_exp;
		setVip_exp(this.vip_exp);
	}	
	public int getCzje() {
		return czje;
	}
	
	public void setCzje(int czje) {
		this.czje = czje;
		addUpdateColumn("充值金额",czje);
	}
	
	public void changeCzjeWith(int czje){
		this.czje += czje;
		setCzje(this.czje);
	}
	
	public void changeCzjeWithMin(int czje,int min){
		this.czje += czje;
		this.czje = this.czje < min ? min : this.czje;
		setCzje(this.czje);
	}
	
	public void changeCzjeWithMax(int czje,int max){
		this.czje += czje;
		this.czje = this.czje > max ? max : this.czje;
		setCzje(this.czje);
	}
	
	public void changeCzjeWithMaxMin(int czje,int max,int min){
		this.czje += czje;
		this.czje = this.czje < min ? min : this.czje;
		this.czje = this.czje > max ? max : this.czje;
		setCzje(this.czje);
	}	
	public int getXy() {
		return xy;
	}
	
	public void setXy(int xy) {
		this.xy = xy;
		addUpdateColumn("幸运",xy);
	}
	
	public void changeXyWith(int xy){
		this.xy += xy;
		setXy(this.xy);
	}
	
	public void changeXyWithMin(int xy,int min){
		this.xy += xy;
		this.xy = this.xy < min ? min : this.xy;
		setXy(this.xy);
	}
	
	public void changeXyWithMax(int xy,int max){
		this.xy += xy;
		this.xy = this.xy > max ? max : this.xy;
		setXy(this.xy);
	}
	
	public void changeXyWithMaxMin(int xy,int max,int min){
		this.xy += xy;
		this.xy = this.xy < min ? min : this.xy;
		this.xy = this.xy > max ? max : this.xy;
		setXy(this.xy);
	}	
	public String getKhdbb() {
		return khdbb;
	}
	
	public void setKhdbb(String khdbb) {
		this.khdbb = khdbb;
		addUpdateColumn("客户端版本",khdbb);
	}
	
	public int getFwq_id() {
		return fwq_id;
	}
	
	public void setFwq_id(int fwq_id) {
		this.fwq_id = fwq_id;
		addUpdateColumn("服务器_id",fwq_id);
	}
	
	public void changeFwq_idWith(int fwq_id){
		this.fwq_id += fwq_id;
		setFwq_id(this.fwq_id);
	}
	
	public void changeFwq_idWithMin(int fwq_id,int min){
		this.fwq_id += fwq_id;
		this.fwq_id = this.fwq_id < min ? min : this.fwq_id;
		setFwq_id(this.fwq_id);
	}
	
	public void changeFwq_idWithMax(int fwq_id,int max){
		this.fwq_id += fwq_id;
		this.fwq_id = this.fwq_id > max ? max : this.fwq_id;
		setFwq_id(this.fwq_id);
	}
	
	public void changeFwq_idWithMaxMin(int fwq_id,int max,int min){
		this.fwq_id += fwq_id;
		this.fwq_id = this.fwq_id < min ? min : this.fwq_id;
		this.fwq_id = this.fwq_id > max ? max : this.fwq_id;
		setFwq_id(this.fwq_id);
	}	
	public int getZclvl() {
		return zclvl;
	}
	
	public void setZclvl(int zclvl) {
		this.zclvl = zclvl;
		addUpdateColumn("主城lvl",zclvl);
	}
	
	public void changeZclvlWith(int zclvl){
		this.zclvl += zclvl;
		setZclvl(this.zclvl);
	}
	
	public void changeZclvlWithMin(int zclvl,int min){
		this.zclvl += zclvl;
		this.zclvl = this.zclvl < min ? min : this.zclvl;
		setZclvl(this.zclvl);
	}
	
	public void changeZclvlWithMax(int zclvl,int max){
		this.zclvl += zclvl;
		this.zclvl = this.zclvl > max ? max : this.zclvl;
		setZclvl(this.zclvl);
	}
	
	public void changeZclvlWithMaxMin(int zclvl,int max,int min){
		this.zclvl += zclvl;
		this.zclvl = this.zclvl < min ? min : this.zclvl;
		this.zclvl = this.zclvl > max ? max : this.zclvl;
		setZclvl(this.zclvl);
	}	
	public int getNmzs() {
		return nmzs;
	}
	
	public void setNmzs(int nmzs) {
		this.nmzs = nmzs;
		addUpdateColumn("农民总数",nmzs);
	}
	
	public void changeNmzsWith(int nmzs){
		this.nmzs += nmzs;
		setNmzs(this.nmzs);
	}
	
	public void changeNmzsWithMin(int nmzs,int min){
		this.nmzs += nmzs;
		this.nmzs = this.nmzs < min ? min : this.nmzs;
		setNmzs(this.nmzs);
	}
	
	public void changeNmzsWithMax(int nmzs,int max){
		this.nmzs += nmzs;
		this.nmzs = this.nmzs > max ? max : this.nmzs;
		setNmzs(this.nmzs);
	}
	
	public void changeNmzsWithMaxMin(int nmzs,int max,int min){
		this.nmzs += nmzs;
		this.nmzs = this.nmzs < min ? min : this.nmzs;
		this.nmzs = this.nmzs > max ? max : this.nmzs;
		setNmzs(this.nmzs);
	}	
	public int getKxnm() {
		return kxnm;
	}
	
	public void setKxnm(int kxnm) {
		this.kxnm = kxnm;
		addUpdateColumn("空闲农民",kxnm);
	}
	
	public void changeKxnmWith(int kxnm){
		this.kxnm += kxnm;
		setKxnm(this.kxnm);
	}
	
	public void changeKxnmWithMin(int kxnm,int min){
		this.kxnm += kxnm;
		this.kxnm = this.kxnm < min ? min : this.kxnm;
		setKxnm(this.kxnm);
	}
	
	public void changeKxnmWithMax(int kxnm,int max){
		this.kxnm += kxnm;
		this.kxnm = this.kxnm > max ? max : this.kxnm;
		setKxnm(this.kxnm);
	}
	
	public void changeKxnmWithMaxMin(int kxnm,int max,int min){
		this.kxnm += kxnm;
		this.kxnm = this.kxnm < min ? min : this.kxnm;
		this.kxnm = this.kxnm > max ? max : this.kxnm;
		setKxnm(this.kxnm);
	}	
	public int getLm_id() {
		return lm_id;
	}
	
	public void setLm_id(int lm_id) {
		this.lm_id = lm_id;
		addUpdateColumn("联盟_id",lm_id);
	}
	
	public void changeLm_idWith(int lm_id){
		this.lm_id += lm_id;
		setLm_id(this.lm_id);
	}
	
	public void changeLm_idWithMin(int lm_id,int min){
		this.lm_id += lm_id;
		this.lm_id = this.lm_id < min ? min : this.lm_id;
		setLm_id(this.lm_id);
	}
	
	public void changeLm_idWithMax(int lm_id,int max){
		this.lm_id += lm_id;
		this.lm_id = this.lm_id > max ? max : this.lm_id;
		setLm_id(this.lm_id);
	}
	
	public void changeLm_idWithMaxMin(int lm_id,int max,int min){
		this.lm_id += lm_id;
		this.lm_id = this.lm_id < min ? min : this.lm_id;
		this.lm_id = this.lm_id > max ? max : this.lm_id;
		setLm_id(this.lm_id);
	}	
	public int getBtrsdid() {
		return btrsdid;
	}
	
	public void setBtrsdid(int btrsdid) {
		this.btrsdid = btrsdid;
		addUpdateColumn("被他人锁定id",btrsdid);
	}
	
	public void changeBtrsdidWith(int btrsdid){
		this.btrsdid += btrsdid;
		setBtrsdid(this.btrsdid);
	}
	
	public void changeBtrsdidWithMin(int btrsdid,int min){
		this.btrsdid += btrsdid;
		this.btrsdid = this.btrsdid < min ? min : this.btrsdid;
		setBtrsdid(this.btrsdid);
	}
	
	public void changeBtrsdidWithMax(int btrsdid,int max){
		this.btrsdid += btrsdid;
		this.btrsdid = this.btrsdid > max ? max : this.btrsdid;
		setBtrsdid(this.btrsdid);
	}
	
	public void changeBtrsdidWithMaxMin(int btrsdid,int max,int min){
		this.btrsdid += btrsdid;
		this.btrsdid = this.btrsdid < min ? min : this.btrsdid;
		this.btrsdid = this.btrsdid > max ? max : this.btrsdid;
		setBtrsdid(this.btrsdid);
	}	
	public int getSdqtrid() {
		return sdqtrid;
	}
	
	public void setSdqtrid(int sdqtrid) {
		this.sdqtrid = sdqtrid;
		addUpdateColumn("锁定其他人id",sdqtrid);
	}
	
	public void changeSdqtridWith(int sdqtrid){
		this.sdqtrid += sdqtrid;
		setSdqtrid(this.sdqtrid);
	}
	
	public void changeSdqtridWithMin(int sdqtrid,int min){
		this.sdqtrid += sdqtrid;
		this.sdqtrid = this.sdqtrid < min ? min : this.sdqtrid;
		setSdqtrid(this.sdqtrid);
	}
	
	public void changeSdqtridWithMax(int sdqtrid,int max){
		this.sdqtrid += sdqtrid;
		this.sdqtrid = this.sdqtrid > max ? max : this.sdqtrid;
		setSdqtrid(this.sdqtrid);
	}
	
	public void changeSdqtridWithMaxMin(int sdqtrid,int max,int min){
		this.sdqtrid += sdqtrid;
		this.sdqtrid = this.sdqtrid < min ? min : this.sdqtrid;
		this.sdqtrid = this.sdqtrid > max ? max : this.sdqtrid;
		setSdqtrid(this.sdqtrid);
	}	
	public boolean getFjsd() {
		return fjsd;
	}
	
	public void setFjsd(boolean fjsd) {
		this.fjsd = fjsd;
		addUpdateColumn("反击锁定",fjsd);
	}
	
	public boolean getZx() {
		return zx;
	}
	
	public void setZx(boolean zx) {
		this.zx = zx;
		addUpdateColumn("在线",zx);
	}
	
	public int getXsrwsy() {
		return xsrwsy;
	}
	
	public void setXsrwsy(int xsrwsy) {
		this.xsrwsy = xsrwsy;
		addUpdateColumn("新手任务索引",xsrwsy);
	}
	
	public void changeXsrwsyWith(int xsrwsy){
		this.xsrwsy += xsrwsy;
		setXsrwsy(this.xsrwsy);
	}
	
	public void changeXsrwsyWithMin(int xsrwsy,int min){
		this.xsrwsy += xsrwsy;
		this.xsrwsy = this.xsrwsy < min ? min : this.xsrwsy;
		setXsrwsy(this.xsrwsy);
	}
	
	public void changeXsrwsyWithMax(int xsrwsy,int max){
		this.xsrwsy += xsrwsy;
		this.xsrwsy = this.xsrwsy > max ? max : this.xsrwsy;
		setXsrwsy(this.xsrwsy);
	}
	
	public void changeXsrwsyWithMaxMin(int xsrwsy,int max,int min){
		this.xsrwsy += xsrwsy;
		this.xsrwsy = this.xsrwsy < min ? min : this.xsrwsy;
		this.xsrwsy = this.xsrwsy > max ? max : this.xsrwsy;
		setXsrwsy(this.xsrwsy);
	}	
	public java.util.Date getSltyzhsj() {
		return sltyzhsj;
	}
	
	public void setSltyzhsj(java.util.Date sltyzhsj) {
		this.sltyzhsj = sltyzhsj;
		addUpdateColumn("十里挑一最后时间",sltyzhsj);
	}
	
	public java.util.Date getBltyzhsj() {
		return bltyzhsj;
	}
	
	public void setBltyzhsj(java.util.Date bltyzhsj) {
		this.bltyzhsj = bltyzhsj;
		addUpdateColumn("百里挑一最后时间",bltyzhsj);
	}
	
	public java.util.Date getWltyzhsj() {
		return wltyzhsj;
	}
	
	public void setWltyzhsj(java.util.Date wltyzhsj) {
		this.wltyzhsj = wltyzhsj;
		addUpdateColumn("万里挑一最后时间",wltyzhsj);
	}
	
	public int getSltysycs() {
		return sltysycs;
	}
	
	public void setSltysycs(int sltysycs) {
		this.sltysycs = sltysycs;
		addUpdateColumn("十里挑一剩余次数",sltysycs);
	}
	
	public void changeSltysycsWith(int sltysycs){
		this.sltysycs += sltysycs;
		setSltysycs(this.sltysycs);
	}
	
	public void changeSltysycsWithMin(int sltysycs,int min){
		this.sltysycs += sltysycs;
		this.sltysycs = this.sltysycs < min ? min : this.sltysycs;
		setSltysycs(this.sltysycs);
	}
	
	public void changeSltysycsWithMax(int sltysycs,int max){
		this.sltysycs += sltysycs;
		this.sltysycs = this.sltysycs > max ? max : this.sltysycs;
		setSltysycs(this.sltysycs);
	}
	
	public void changeSltysycsWithMaxMin(int sltysycs,int max,int min){
		this.sltysycs += sltysycs;
		this.sltysycs = this.sltysycs < min ? min : this.sltysycs;
		this.sltysycs = this.sltysycs > max ? max : this.sltysycs;
		setSltysycs(this.sltysycs);
	}	
	public int getBltysycs() {
		return bltysycs;
	}
	
	public void setBltysycs(int bltysycs) {
		this.bltysycs = bltysycs;
		addUpdateColumn("百里挑一剩余次数",bltysycs);
	}
	
	public void changeBltysycsWith(int bltysycs){
		this.bltysycs += bltysycs;
		setBltysycs(this.bltysycs);
	}
	
	public void changeBltysycsWithMin(int bltysycs,int min){
		this.bltysycs += bltysycs;
		this.bltysycs = this.bltysycs < min ? min : this.bltysycs;
		setBltysycs(this.bltysycs);
	}
	
	public void changeBltysycsWithMax(int bltysycs,int max){
		this.bltysycs += bltysycs;
		this.bltysycs = this.bltysycs > max ? max : this.bltysycs;
		setBltysycs(this.bltysycs);
	}
	
	public void changeBltysycsWithMaxMin(int bltysycs,int max,int min){
		this.bltysycs += bltysycs;
		this.bltysycs = this.bltysycs < min ? min : this.bltysycs;
		this.bltysycs = this.bltysycs > max ? max : this.bltysycs;
		setBltysycs(this.bltysycs);
	}	
	public int getWltysycs() {
		return wltysycs;
	}
	
	public void setWltysycs(int wltysycs) {
		this.wltysycs = wltysycs;
		addUpdateColumn("万里挑一剩余次数",wltysycs);
	}
	
	public void changeWltysycsWith(int wltysycs){
		this.wltysycs += wltysycs;
		setWltysycs(this.wltysycs);
	}
	
	public void changeWltysycsWithMin(int wltysycs,int min){
		this.wltysycs += wltysycs;
		this.wltysycs = this.wltysycs < min ? min : this.wltysycs;
		setWltysycs(this.wltysycs);
	}
	
	public void changeWltysycsWithMax(int wltysycs,int max){
		this.wltysycs += wltysycs;
		this.wltysycs = this.wltysycs > max ? max : this.wltysycs;
		setWltysycs(this.wltysycs);
	}
	
	public void changeWltysycsWithMaxMin(int wltysycs,int max,int min){
		this.wltysycs += wltysycs;
		this.wltysycs = this.wltysycs < min ? min : this.wltysycs;
		this.wltysycs = this.wltysycs > max ? max : this.wltysycs;
		setWltysycs(this.wltysycs);
	}	
	public java.util.Date getCqjnzhsj() {
		return cqjnzhsj;
	}
	
	public void setCqjnzhsj(java.util.Date cqjnzhsj) {
		this.cqjnzhsj = cqjnzhsj;
		addUpdateColumn("抽取技能最后时间",cqjnzhsj);
	}
	
	public int getMfcqjncs() {
		return mfcqjncs;
	}
	
	public void setMfcqjncs(int mfcqjncs) {
		this.mfcqjncs = mfcqjncs;
		addUpdateColumn("免费抽取技能次数",mfcqjncs);
	}
	
	public void changeMfcqjncsWith(int mfcqjncs){
		this.mfcqjncs += mfcqjncs;
		setMfcqjncs(this.mfcqjncs);
	}
	
	public void changeMfcqjncsWithMin(int mfcqjncs,int min){
		this.mfcqjncs += mfcqjncs;
		this.mfcqjncs = this.mfcqjncs < min ? min : this.mfcqjncs;
		setMfcqjncs(this.mfcqjncs);
	}
	
	public void changeMfcqjncsWithMax(int mfcqjncs,int max){
		this.mfcqjncs += mfcqjncs;
		this.mfcqjncs = this.mfcqjncs > max ? max : this.mfcqjncs;
		setMfcqjncs(this.mfcqjncs);
	}
	
	public void changeMfcqjncsWithMaxMin(int mfcqjncs,int max,int min){
		this.mfcqjncs += mfcqjncs;
		this.mfcqjncs = this.mfcqjncs < min ? min : this.mfcqjncs;
		this.mfcqjncs = this.mfcqjncs > max ? max : this.mfcqjncs;
		setMfcqjncs(this.mfcqjncs);
	}	
	public java.util.Date getZasxsj() {
		return zasxsj;
	}
	
	public void setZasxsj(java.util.Date zasxsj) {
		this.zasxsj = zasxsj;
		addUpdateColumn("障碍刷新时间",zasxsj);
	}
	
	public java.util.Date getZdbhsj() {
		return zdbhsj;
	}
	
	public void setZdbhsj(java.util.Date zdbhsj) {
		this.zdbhsj = zdbhsj;
		addUpdateColumn("战斗保护时间",zdbhsj);
	}
	
	public java.util.Date getZhbgjsj() {
		return zhbgjsj;
	}
	
	public void setZhbgjsj(java.util.Date zhbgjsj) {
		this.zhbgjsj = zhbgjsj;
		addUpdateColumn("最后被攻击时间",zhbgjsj);
	}
	
	public java.util.Date getGxtlsj() {
		return gxtlsj;
	}
	
	public void setGxtlsj(java.util.Date gxtlsj) {
		this.gxtlsj = gxtlsj;
		addUpdateColumn("更新体力时间",gxtlsj);
	}
	
	public int getKqfbid() {
		return kqfbid;
	}
	
	public void setKqfbid(int kqfbid) {
		this.kqfbid = kqfbid;
		addUpdateColumn("开启副本id",kqfbid);
	}
	
	public void changeKqfbidWith(int kqfbid){
		this.kqfbid += kqfbid;
		setKqfbid(this.kqfbid);
	}
	
	public void changeKqfbidWithMin(int kqfbid,int min){
		this.kqfbid += kqfbid;
		this.kqfbid = this.kqfbid < min ? min : this.kqfbid;
		setKqfbid(this.kqfbid);
	}
	
	public void changeKqfbidWithMax(int kqfbid,int max){
		this.kqfbid += kqfbid;
		this.kqfbid = this.kqfbid > max ? max : this.kqfbid;
		setKqfbid(this.kqfbid);
	}
	
	public void changeKqfbidWithMaxMin(int kqfbid,int max,int min){
		this.kqfbid += kqfbid;
		this.kqfbid = this.kqfbid < min ? min : this.kqfbid;
		this.kqfbid = this.kqfbid > max ? max : this.kqfbid;
		setKqfbid(this.kqfbid);
	}	
	public int getZdl() {
		return zdl;
	}
	
	public void setZdl(int zdl) {
		this.zdl = zdl;
		addUpdateColumn("战斗力",zdl);
	}
	
	public void changeZdlWith(int zdl){
		this.zdl += zdl;
		setZdl(this.zdl);
	}
	
	public void changeZdlWithMin(int zdl,int min){
		this.zdl += zdl;
		this.zdl = this.zdl < min ? min : this.zdl;
		setZdl(this.zdl);
	}
	
	public void changeZdlWithMax(int zdl,int max){
		this.zdl += zdl;
		this.zdl = this.zdl > max ? max : this.zdl;
		setZdl(this.zdl);
	}
	
	public void changeZdlWithMaxMin(int zdl,int max,int min){
		this.zdl += zdl;
		this.zdl = this.zdl < min ? min : this.zdl;
		this.zdl = this.zdl > max ? max : this.zdl;
		setZdl(this.zdl);
	}	
	public int getJjcexp() {
		return jjcexp;
	}
	
	public void setJjcexp(int jjcexp) {
		this.jjcexp = jjcexp;
		addUpdateColumn("竞技场exp",jjcexp);
	}
	
	public void changeJjcexpWith(int jjcexp){
		this.jjcexp += jjcexp;
		setJjcexp(this.jjcexp);
	}
	
	public void changeJjcexpWithMin(int jjcexp,int min){
		this.jjcexp += jjcexp;
		this.jjcexp = this.jjcexp < min ? min : this.jjcexp;
		setJjcexp(this.jjcexp);
	}
	
	public void changeJjcexpWithMax(int jjcexp,int max){
		this.jjcexp += jjcexp;
		this.jjcexp = this.jjcexp > max ? max : this.jjcexp;
		setJjcexp(this.jjcexp);
	}
	
	public void changeJjcexpWithMaxMin(int jjcexp,int max,int min){
		this.jjcexp += jjcexp;
		this.jjcexp = this.jjcexp < min ? min : this.jjcexp;
		this.jjcexp = this.jjcexp > max ? max : this.jjcexp;
		setJjcexp(this.jjcexp);
	}	
	public java.util.Date getJjcljsj() {
		return jjcljsj;
	}
	
	public void setJjcljsj(java.util.Date jjcljsj) {
		this.jjcljsj = jjcljsj;
		addUpdateColumn("竞技场领奖时间",jjcljsj);
	}
	
	public java.util.Date getXldgxsj() {
		return xldgxsj;
	}
	
	public void setXldgxsj(java.util.Date xldgxsj) {
		this.xldgxsj = xldgxsj;
		addUpdateColumn("修炼点更新时间",xldgxsj);
	}
	
	public int getSytzcs() {
		return sytzcs;
	}
	
	public void setSytzcs(int sytzcs) {
		this.sytzcs = sytzcs;
		addUpdateColumn("剩余挑战次数",sytzcs);
	}
	
	public void changeSytzcsWith(int sytzcs){
		this.sytzcs += sytzcs;
		setSytzcs(this.sytzcs);
	}
	
	public void changeSytzcsWithMin(int sytzcs,int min){
		this.sytzcs += sytzcs;
		this.sytzcs = this.sytzcs < min ? min : this.sytzcs;
		setSytzcs(this.sytzcs);
	}
	
	public void changeSytzcsWithMax(int sytzcs,int max){
		this.sytzcs += sytzcs;
		this.sytzcs = this.sytzcs > max ? max : this.sytzcs;
		setSytzcs(this.sytzcs);
	}
	
	public void changeSytzcsWithMaxMin(int sytzcs,int max,int min){
		this.sytzcs += sytzcs;
		this.sytzcs = this.sytzcs < min ? min : this.sytzcs;
		this.sytzcs = this.sytzcs > max ? max : this.sytzcs;
		setSytzcs(this.sytzcs);
	}	
	public java.util.Date getZhtzsj() {
		return zhtzsj;
	}
	
	public void setZhtzsj(java.util.Date zhtzsj) {
		this.zhtzsj = zhtzsj;
		addUpdateColumn("最后挑战时间",zhtzsj);
	}
	
	public int getGmkbs() {
		return gmkbs;
	}
	
	public void setGmkbs(int gmkbs) {
		this.gmkbs = gmkbs;
		addUpdateColumn("购买卡包数",gmkbs);
	}
	
	public void changeGmkbsWith(int gmkbs){
		this.gmkbs += gmkbs;
		setGmkbs(this.gmkbs);
	}
	
	public void changeGmkbsWithMin(int gmkbs,int min){
		this.gmkbs += gmkbs;
		this.gmkbs = this.gmkbs < min ? min : this.gmkbs;
		setGmkbs(this.gmkbs);
	}
	
	public void changeGmkbsWithMax(int gmkbs,int max){
		this.gmkbs += gmkbs;
		this.gmkbs = this.gmkbs > max ? max : this.gmkbs;
		setGmkbs(this.gmkbs);
	}
	
	public void changeGmkbsWithMaxMin(int gmkbs,int max,int min){
		this.gmkbs += gmkbs;
		this.gmkbs = this.gmkbs < min ? min : this.gmkbs;
		this.gmkbs = this.gmkbs > max ? max : this.gmkbs;
		setGmkbs(this.gmkbs);
	}	
	public java.util.Date getYthdlqsj() {
		return ythdlqsj;
	}
	
	public void setYthdlqsj(java.util.Date ythdlqsj) {
		this.ythdlqsj = ythdlqsj;
		addUpdateColumn("一天护盾冷却时间",ythdlqsj);
	}
	
	public java.util.Date getLthdlqsj() {
		return lthdlqsj;
	}
	
	public void setLthdlqsj(java.util.Date lthdlqsj) {
		this.lthdlqsj = lthdlqsj;
		addUpdateColumn("两天护盾冷却时间",lthdlqsj);
	}
	
	public java.util.Date getYzhdlqsj() {
		return yzhdlqsj;
	}
	
	public void setYzhdlqsj(java.util.Date yzhdlqsj) {
		this.yzhdlqsj = yzhdlqsj;
		addUpdateColumn("一周护盾冷却时间",yzhdlqsj);
	}
	
	public int getWzszgdjyxid() {
		return wzszgdjyxid;
	}
	
	public void setWzszgdjyxid(int wzszgdjyxid) {
		this.wzszgdjyxid = wzszgdjyxid;
		addUpdateColumn("王座上最高等级英雄id",wzszgdjyxid);
	}
	
	public void changeWzszgdjyxidWith(int wzszgdjyxid){
		this.wzszgdjyxid += wzszgdjyxid;
		setWzszgdjyxid(this.wzszgdjyxid);
	}
	
	public void changeWzszgdjyxidWithMin(int wzszgdjyxid,int min){
		this.wzszgdjyxid += wzszgdjyxid;
		this.wzszgdjyxid = this.wzszgdjyxid < min ? min : this.wzszgdjyxid;
		setWzszgdjyxid(this.wzszgdjyxid);
	}
	
	public void changeWzszgdjyxidWithMax(int wzszgdjyxid,int max){
		this.wzszgdjyxid += wzszgdjyxid;
		this.wzszgdjyxid = this.wzszgdjyxid > max ? max : this.wzszgdjyxid;
		setWzszgdjyxid(this.wzszgdjyxid);
	}
	
	public void changeWzszgdjyxidWithMaxMin(int wzszgdjyxid,int max,int min){
		this.wzszgdjyxid += wzszgdjyxid;
		this.wzszgdjyxid = this.wzszgdjyxid < min ? min : this.wzszgdjyxid;
		this.wzszgdjyxid = this.wzszgdjyxid > max ? max : this.wzszgdjyxid;
		setWzszgdjyxid(this.wzszgdjyxid);
	}	
	public int getWzszgdjyxlvl() {
		return wzszgdjyxlvl;
	}
	
	public void setWzszgdjyxlvl(int wzszgdjyxlvl) {
		this.wzszgdjyxlvl = wzszgdjyxlvl;
		addUpdateColumn("王座上最高等级英雄lvl",wzszgdjyxlvl);
	}
	
	public void changeWzszgdjyxlvlWith(int wzszgdjyxlvl){
		this.wzszgdjyxlvl += wzszgdjyxlvl;
		setWzszgdjyxlvl(this.wzszgdjyxlvl);
	}
	
	public void changeWzszgdjyxlvlWithMin(int wzszgdjyxlvl,int min){
		this.wzszgdjyxlvl += wzszgdjyxlvl;
		this.wzszgdjyxlvl = this.wzszgdjyxlvl < min ? min : this.wzszgdjyxlvl;
		setWzszgdjyxlvl(this.wzszgdjyxlvl);
	}
	
	public void changeWzszgdjyxlvlWithMax(int wzszgdjyxlvl,int max){
		this.wzszgdjyxlvl += wzszgdjyxlvl;
		this.wzszgdjyxlvl = this.wzszgdjyxlvl > max ? max : this.wzszgdjyxlvl;
		setWzszgdjyxlvl(this.wzszgdjyxlvl);
	}
	
	public void changeWzszgdjyxlvlWithMaxMin(int wzszgdjyxlvl,int max,int min){
		this.wzszgdjyxlvl += wzszgdjyxlvl;
		this.wzszgdjyxlvl = this.wzszgdjyxlvl < min ? min : this.wzszgdjyxlvl;
		this.wzszgdjyxlvl = this.wzszgdjyxlvl > max ? max : this.wzszgdjyxlvl;
		setWzszgdjyxlvl(this.wzszgdjyxlvl);
	}	
	public String getCbfw() {
		return cbfw;
	}
	
	public void setCbfw(String cbfw) {
		this.cbfw = cbfw;
		addUpdateColumn("出兵范围",cbfw);
	}
	
	
	//id
	public List<Bydl> getBydlsFkYh_id(){
		return BydlCache.getByYh_id(id);
	}
	
	//id
	public List<Xdjl> getXdjlsFkYhid(){
		return XdjlCache.getByYhid(id);
	}
	
	//id
	public List<Xdjl> getXdjlsFkMbid(){
		return XdjlCache.getByMbid(id);
	}
	
	//id
	public List<Jzdl> getJzdlsFkYh_id(){
		return JzdlCache.getByYh_id(id);
	}
	
	//id
	public List<Zb> getZbsFkGjrid(){
		return ZbCache.getByGjrid(id);
	}
	
	//id
	public List<Zb> getZbsFkMbrid(){
		return ZbCache.getByMbrid(id);
	}
	
	//id
	public List<Tzjl> getTzjlsFkTzrid(){
		return TzjlCache.getByTzrid(id);
	}
	
	//id
	public List<Tzjl> getTzjlsFkMbrid(){
		return TzjlCache.getByMbrid(id);
	}
	
	//id
	public List<Yh> getYhsFkSdqtrid(){
		return YhCache.getBySdqtrid(id);
	}
	
	//id
	public List<Yh> getYhsFkBtrsdid(){
		return YhCache.getByBtrsdid(id);
	}
	
	//id
	public List<Yhrw> getYhrwsFkYh_id(){
		return YhrwCache.getByYh_id(id);
	}
	
	//id
	public List<Yhxl> getYhxlsFkYh_id(){
		return YhxlCache.getByYh_id(id);
	}
	
	//id
	public List<Yhfb> getYhfbsFkYh_id(){
		return YhfbCache.getByYh_id(id);
	}
	
	//id
	public List<Yhxddx> getYhxddxsFkYhid(){
		return YhxddxCache.getByYhid(id);
	}
	
	//id
	public List<Yhxddx> getYhxddxsFkMbyhid(){
		return YhxddxCache.getByMbyhid(id);
	}
	
	//id
	public List<Yhjz> getYhjzsFkYh_id(){
		return YhjzCache.getByYh_id(id);
	}
	
	//id
	public Yhmrxx getYhmrxxsFkYh_id(){
		return YhmrxxCache.getByYh_id(id);
	}
	
	//id
	public List<Yhjjdx> getYhjjdxsFkYhid(){
		return YhjjdxCache.getByYhid(id);
	}
	
	//id
	public List<Yhjjdx> getYhjjdxsFkMbyhid(){
		return YhjjdxCache.getByMbyhid(id);
	}
	
	//id
	public Yhljxx getYhljxxsFkYh_id(){
		return YhljxxCache.getByYh_id(id);
	}
	
	//id
	public List<Yhbb> getYhbbsFkYh_id(){
		return YhbbCache.getByYh_id(id);
	}
	
	//id
	public List<Yhyx> getYhyxsFkYh_id(){
		return YhyxCache.getByYh_id(id);
	}
	
	//id
	public List<Yhzs> getYhzssFkYh_id(){
		return YhzsCache.getByYh_id(id);
	}
	
	//id
	public List<Yhyj> getYhyjsFkFjrid(){
		return YhyjCache.getByFjrid(id);
	}
	
	//id
	public List<Yhyj> getYhyjsFkJsrid(){
		return YhyjCache.getByJsrid(id);
	}
	
	//id
	public List<Yhxz> getYhxzsFkYh_id(){
		return YhxzCache.getByYh_id(id);
	}
	
	//id
	public List<Yhxj> getYhxjsFkYh_id(){
		return YhxjCache.getByYh_id(id);
	}
	
	//id
	public List<Yhza> getYhzasFkYh_id(){
		return YhzaCache.getByYh_id(id);
	}
	
	//id
	public List<Lt> getLtsFkJsrid(){
		return LtCache.getByJsrid(id);
	}
	
	//id
	public List<Lt> getLtsFkFyrid(){
		return LtCache.getByFyrid(id);
	}
	
	//id
	public List<Lm> getLmsFkCjrid(){
		return LmCache.getByCjrid(id);
	}
	
	//id
	public List<Lmsj> getLmsjsFkYh_id(){
		return LmsjCache.getByYh_id(id);
	}
	
	//id
	public List<Zadl> getZadlsFkYh_id(){
		return ZadlCache.getByYh_id(id);
	}
	
	//锁定其他人id
	public Yh getYhPkSdqtrid(){
		return YhCache.getById(sdqtrid);
	}
	//被他人锁定id
	public Yh getYhPkBtrsdid(){
		return YhCache.getById(btrsdid);
	}
	//用户类型_id
	public Yhlx getYhlxPkYhlx_id(){
		return YhlxCache.getById(yhlx_id);
	}
	//联盟_id
	public Lm getLmPkLm_id(){
		return LmCache.getById(lm_id);
	}
	//服务器_id
	public Fwq getFwqPkFwq_id(){
		return FwqCache.getById(fwq_id);
	}
	public void addUpdateColumn(String key, Object val) {
		Map<String, Object> map = getUpdateColumns();
		if (map == null)
			return;
		map.put(key, val);
	}
	
	public void clearUpdateColumn() {
		Map<String, Object> map = getUpdateColumns();
		if (map == null)
			return;
		map.clear();
	}
	
	public Map<String, Object> toMap(){
        Map<String, Object> result = new HashMap<String, Object>();
        result.put("id", this.id);
        result.put("nc", this.nc);
        result.put("cjsj", this.cjsj);
        result.put("zhdlsj", this.zhdlsj);
        result.put("yy", this.yy);
        result.put("zh", this.zh);
        result.put("mm", this.mm);
        result.put("bs", this.bs);
        result.put("jbs", this.jbs);
        result.put("jb", this.jb);
        result.put("s", this.s);
        result.put("tl", this.tl);
        result.put("xld", this.xld);
        result.put("sb", this.sb);
        result.put("sbxt", this.sbxt);
        result.put("sbbh", this.sbbh);
        result.put("fbl", this.fbl);
        result.put("qd", this.qd);
        result.put("yhlx_id", this.yhlx_id);
        result.put("yhlvl", this.yhlvl);
        result.put("yhlvl_exp", this.yhlvl_exp);
        result.put("vip", this.vip);
        result.put("vip_exp", this.vip_exp);
        result.put("czje", this.czje);
        result.put("xy", this.xy);
        result.put("khdbb", this.khdbb);
        result.put("fwq_id", this.fwq_id);
        result.put("zclvl", this.zclvl);
        result.put("nmzs", this.nmzs);
        result.put("kxnm", this.kxnm);
        result.put("lm_id", this.lm_id);
        result.put("btrsdid", this.btrsdid);
        result.put("sdqtrid", this.sdqtrid);
        result.put("fjsd", this.fjsd);
        result.put("zx", this.zx);
        result.put("xsrwsy", this.xsrwsy);
        result.put("sltyzhsj", this.sltyzhsj);
        result.put("bltyzhsj", this.bltyzhsj);
        result.put("wltyzhsj", this.wltyzhsj);
        result.put("sltysycs", this.sltysycs);
        result.put("bltysycs", this.bltysycs);
        result.put("wltysycs", this.wltysycs);
        result.put("cqjnzhsj", this.cqjnzhsj);
        result.put("mfcqjncs", this.mfcqjncs);
        result.put("zasxsj", this.zasxsj);
        result.put("zdbhsj", this.zdbhsj);
        result.put("zhbgjsj", this.zhbgjsj);
        result.put("gxtlsj", this.gxtlsj);
        result.put("kqfbid", this.kqfbid);
        result.put("zdl", this.zdl);
        result.put("jjcexp", this.jjcexp);
        result.put("jjcljsj", this.jjcljsj);
        result.put("xldgxsj", this.xldgxsj);
        result.put("sytzcs", this.sytzcs);
        result.put("zhtzsj", this.zhtzsj);
        result.put("gmkbs", this.gmkbs);
        result.put("ythdlqsj", this.ythdlqsj);
        result.put("lthdlqsj", this.lthdlqsj);
        result.put("yzhdlqsj", this.yzhdlqsj);
        result.put("wzszgdjyxid", this.wzszgdjyxid);
        result.put("wzszgdjyxlvl", this.wzszgdjyxlvl);
        result.put("cbfw", this.cbfw);
        return result;
    }
    
    public String toString(){
        return toMap().toString();
    }
    
    public String toJson(){
    	return JSON.toJSONString(toMap());
    }
    
    /**
     * 数据库源字段Map
     */
    public Map<String, Object> toColumnNameMap(){
        Map<String, Object> result = new HashMap<String, Object>();
        result.put("id", this.id);
        result.put("昵称", this.nc);
        result.put("创建时间", this.cjsj);
        result.put("最后登录时间", this.zhdlsj);
        result.put("语言", this.yy);
        result.put("账号", this.zh);
        result.put("密码", this.mm);
        result.put("宝石", this.bs);
        result.put("假宝石", this.jbs);
        result.put("金币", this.jb);
        result.put("水", this.s);
        result.put("体力", this.tl);
        result.put("修炼点", this.xld);
        result.put("设备", this.sb);
        result.put("设备系统", this.sbxt);
        result.put("设备编号", this.sbbh);
        result.put("分辨率", this.fbl);
        result.put("渠道", this.qd);
        result.put("用户类型_id", this.yhlx_id);
        result.put("用户lvl", this.yhlvl);
        result.put("用户lvl_exp", this.yhlvl_exp);
        result.put("vip", this.vip);
        result.put("vip_exp", this.vip_exp);
        result.put("充值金额", this.czje);
        result.put("幸运", this.xy);
        result.put("客户端版本", this.khdbb);
        result.put("服务器_id", this.fwq_id);
        result.put("主城lvl", this.zclvl);
        result.put("农民总数", this.nmzs);
        result.put("空闲农民", this.kxnm);
        result.put("联盟_id", this.lm_id);
        result.put("被他人锁定id", this.btrsdid);
        result.put("锁定其他人id", this.sdqtrid);
        result.put("反击锁定", this.fjsd);
        result.put("在线", this.zx);
        result.put("新手任务索引", this.xsrwsy);
        result.put("十里挑一最后时间", this.sltyzhsj);
        result.put("百里挑一最后时间", this.bltyzhsj);
        result.put("万里挑一最后时间", this.wltyzhsj);
        result.put("十里挑一剩余次数", this.sltysycs);
        result.put("百里挑一剩余次数", this.bltysycs);
        result.put("万里挑一剩余次数", this.wltysycs);
        result.put("抽取技能最后时间", this.cqjnzhsj);
        result.put("免费抽取技能次数", this.mfcqjncs);
        result.put("障碍刷新时间", this.zasxsj);
        result.put("战斗保护时间", this.zdbhsj);
        result.put("最后被攻击时间", this.zhbgjsj);
        result.put("更新体力时间", this.gxtlsj);
        result.put("开启副本id", this.kqfbid);
        result.put("战斗力", this.zdl);
        result.put("竞技场exp", this.jjcexp);
        result.put("竞技场领奖时间", this.jjcljsj);
        result.put("修炼点更新时间", this.xldgxsj);
        result.put("剩余挑战次数", this.sytzcs);
        result.put("最后挑战时间", this.zhtzsj);
        result.put("购买卡包数", this.gmkbs);
        result.put("一天护盾冷却时间", this.ythdlqsj);
        result.put("两天护盾冷却时间", this.lthdlqsj);
        result.put("一周护盾冷却时间", this.yzhdlqsj);
        result.put("王座上最高等级英雄id", this.wzszgdjyxid);
        result.put("王座上最高等级英雄lvl", this.wzszgdjyxlvl);
        result.put("出兵范围", this.cbfw);
        return result;
    }
    
    public String toColumnNameString(){
        return toColumnNameMap().toString();
    }
    
    public byte[] toBytes() throws Exception {
    	try (ByteArrayOutputStream out = new ByteArrayOutputStream();) {
		    SK_OutputStream.writeInt(out,this.id);
		    SK_OutputStream.writeString(out,this.nc);
		    SK_OutputStream.writeString(out,this.yy);
		    SK_OutputStream.writeString(out,this.zh);
		    SK_OutputStream.writeString(out,this.mm);
		    SK_OutputStream.writeInt(out,this.bs);
		    SK_OutputStream.writeInt(out,this.jbs);
		    SK_OutputStream.writeInt(out,this.jb);
		    SK_OutputStream.writeInt(out,this.s);
		    SK_OutputStream.writeInt(out,this.tl);
		    SK_OutputStream.writeInt(out,this.xld);
		    SK_OutputStream.writeString(out,this.sb);
		    SK_OutputStream.writeString(out,this.sbxt);
		    SK_OutputStream.writeString(out,this.sbbh);
		    SK_OutputStream.writeString(out,this.fbl);
		    SK_OutputStream.writeString(out,this.qd);
		    SK_OutputStream.writeInt(out,this.yhlx_id);
		    SK_OutputStream.writeInt(out,this.yhlvl);
		    SK_OutputStream.writeInt(out,this.yhlvl_exp);
		    SK_OutputStream.writeInt(out,this.vip);
		    SK_OutputStream.writeInt(out,this.vip_exp);
		    SK_OutputStream.writeInt(out,this.czje);
		    SK_OutputStream.writeInt(out,this.xy);
		    SK_OutputStream.writeString(out,this.khdbb);
		    SK_OutputStream.writeInt(out,this.fwq_id);
		    SK_OutputStream.writeInt(out,this.zclvl);
		    SK_OutputStream.writeInt(out,this.nmzs);
		    SK_OutputStream.writeInt(out,this.kxnm);
		    SK_OutputStream.writeInt(out,this.lm_id);
		    SK_OutputStream.writeInt(out,this.btrsdid);
		    SK_OutputStream.writeInt(out,this.sdqtrid);
		    SK_OutputStream.writeInt(out,this.xsrwsy);
		    SK_OutputStream.writeInt(out,this.sltysycs);
		    SK_OutputStream.writeInt(out,this.bltysycs);
		    SK_OutputStream.writeInt(out,this.wltysycs);
		    SK_OutputStream.writeInt(out,this.mfcqjncs);
		    SK_OutputStream.writeInt(out,this.kqfbid);
		    SK_OutputStream.writeInt(out,this.zdl);
		    SK_OutputStream.writeInt(out,this.jjcexp);
		    SK_OutputStream.writeInt(out,this.sytzcs);
		    SK_OutputStream.writeInt(out,this.gmkbs);
		    SK_OutputStream.writeInt(out,this.wzszgdjyxid);
		    SK_OutputStream.writeInt(out,this.wzszgdjyxlvl);
		    SK_OutputStream.writeString(out,this.cbfw);
		    return out.toByteArray();
    	}catch (Exception e) {
            throw e;
        }
    }
    
     public static Yh createForBytes(byte[] _byte) throws Exception {
     	try (ByteArrayInputStream in = new ByteArrayInputStream(_byte);) {
	     	Yh yh = new Yh();
		    yh.id = SK_InputStream.readInt(in,null);
		    yh.nc = SK_InputStream.readString(in,null);
		    yh.yy = SK_InputStream.readString(in,null);
		    yh.zh = SK_InputStream.readString(in,null);
		    yh.mm = SK_InputStream.readString(in,null);
		    yh.bs = SK_InputStream.readInt(in,null);
		    yh.jbs = SK_InputStream.readInt(in,null);
		    yh.jb = SK_InputStream.readInt(in,null);
		    yh.s = SK_InputStream.readInt(in,null);
		    yh.tl = SK_InputStream.readInt(in,null);
		    yh.xld = SK_InputStream.readInt(in,null);
		    yh.sb = SK_InputStream.readString(in,null);
		    yh.sbxt = SK_InputStream.readString(in,null);
		    yh.sbbh = SK_InputStream.readString(in,null);
		    yh.fbl = SK_InputStream.readString(in,null);
		    yh.qd = SK_InputStream.readString(in,null);
		    yh.yhlx_id = SK_InputStream.readInt(in,null);
		    yh.yhlvl = SK_InputStream.readInt(in,null);
		    yh.yhlvl_exp = SK_InputStream.readInt(in,null);
		    yh.vip = SK_InputStream.readInt(in,null);
		    yh.vip_exp = SK_InputStream.readInt(in,null);
		    yh.czje = SK_InputStream.readInt(in,null);
		    yh.xy = SK_InputStream.readInt(in,null);
		    yh.khdbb = SK_InputStream.readString(in,null);
		    yh.fwq_id = SK_InputStream.readInt(in,null);
		    yh.zclvl = SK_InputStream.readInt(in,null);
		    yh.nmzs = SK_InputStream.readInt(in,null);
		    yh.kxnm = SK_InputStream.readInt(in,null);
		    yh.lm_id = SK_InputStream.readInt(in,null);
		    yh.btrsdid = SK_InputStream.readInt(in,null);
		    yh.sdqtrid = SK_InputStream.readInt(in,null);
		    yh.xsrwsy = SK_InputStream.readInt(in,null);
		    yh.sltysycs = SK_InputStream.readInt(in,null);
		    yh.bltysycs = SK_InputStream.readInt(in,null);
		    yh.wltysycs = SK_InputStream.readInt(in,null);
		    yh.mfcqjncs = SK_InputStream.readInt(in,null);
		    yh.kqfbid = SK_InputStream.readInt(in,null);
		    yh.zdl = SK_InputStream.readInt(in,null);
		    yh.jjcexp = SK_InputStream.readInt(in,null);
		    yh.sytzcs = SK_InputStream.readInt(in,null);
		    yh.gmkbs = SK_InputStream.readInt(in,null);
		    yh.wzszgdjyxid = SK_InputStream.readInt(in,null);
		    yh.wzszgdjyxlvl = SK_InputStream.readInt(in,null);
		    yh.cbfw = SK_InputStream.readString(in,null);
		    return yh;
    	}catch (Exception e) {
            throw e;
        }
     }
    
    /**
     * 根据list创建对象
     */
    public static List<Yh> createForColumnNameList(List<Map<String, Object>> list){
    	List<Yh> yhs = new ArrayList<Yh>();
		for (Map<String, Object> map : list) {
			yhs.add(createForColumnNameMap(map));
		}
		return yhs;
    }
    
    /**
     * 根据map创建对象
     */
    public static Yh createForColumnNameMap(Map<String, Object> map){
    	Yh obj = new Yh();
	    obj.id = SK_Map.getInt("id", map);
	    obj.nc = SK_Map.getString("昵称", map);
	    obj.yy = SK_Map.getString("语言", map);
	    obj.zh = SK_Map.getString("账号", map);
	    obj.mm = SK_Map.getString("密码", map);
	    obj.bs = SK_Map.getInt("宝石", map);
	    obj.jbs = SK_Map.getInt("假宝石", map);
	    obj.jb = SK_Map.getInt("金币", map);
	    obj.s = SK_Map.getInt("水", map);
	    obj.tl = SK_Map.getInt("体力", map);
	    obj.xld = SK_Map.getInt("修炼点", map);
	    obj.sb = SK_Map.getString("设备", map);
	    obj.sbxt = SK_Map.getString("设备系统", map);
	    obj.sbbh = SK_Map.getString("设备编号", map);
	    obj.fbl = SK_Map.getString("分辨率", map);
	    obj.qd = SK_Map.getString("渠道", map);
	    obj.yhlx_id = SK_Map.getInt("用户类型_id", map);
	    obj.yhlvl = SK_Map.getInt("用户lvl", map);
	    obj.yhlvl_exp = SK_Map.getInt("用户lvl_exp", map);
	    obj.vip = SK_Map.getInt("vip", map);
	    obj.vip_exp = SK_Map.getInt("vip_exp", map);
	    obj.czje = SK_Map.getInt("充值金额", map);
	    obj.xy = SK_Map.getInt("幸运", map);
	    obj.khdbb = SK_Map.getString("客户端版本", map);
	    obj.fwq_id = SK_Map.getInt("服务器_id", map);
	    obj.zclvl = SK_Map.getInt("主城lvl", map);
	    obj.nmzs = SK_Map.getInt("农民总数", map);
	    obj.kxnm = SK_Map.getInt("空闲农民", map);
	    obj.lm_id = SK_Map.getInt("联盟_id", map);
	    obj.btrsdid = SK_Map.getInt("被他人锁定id", map);
	    obj.sdqtrid = SK_Map.getInt("锁定其他人id", map);
	    obj.xsrwsy = SK_Map.getInt("新手任务索引", map);
	    obj.sltysycs = SK_Map.getInt("十里挑一剩余次数", map);
	    obj.bltysycs = SK_Map.getInt("百里挑一剩余次数", map);
	    obj.wltysycs = SK_Map.getInt("万里挑一剩余次数", map);
	    obj.mfcqjncs = SK_Map.getInt("免费抽取技能次数", map);
	    obj.kqfbid = SK_Map.getInt("开启副本id", map);
	    obj.zdl = SK_Map.getInt("战斗力", map);
	    obj.jjcexp = SK_Map.getInt("竞技场exp", map);
	    obj.sytzcs = SK_Map.getInt("剩余挑战次数", map);
	    obj.gmkbs = SK_Map.getInt("购买卡包数", map);
	    obj.wzszgdjyxid = SK_Map.getInt("王座上最高等级英雄id", map);
	    obj.wzszgdjyxlvl = SK_Map.getInt("王座上最高等级英雄lvl", map);
	    obj.cbfw = SK_Map.getString("出兵范围", map);
        return obj;
    }
    
    /**
     * 根据list创建对象
     */
    public static List<Yh> createForList(List<Map<String, Object>> list){
    	List<Yh> yhs = new ArrayList<Yh>();
		for (Map<String, Object> map : list) {
			yhs.add(createForColumnNameMap(map));
		}
		return yhs;
    }
    
    /**
     * 根据map创建对象
     */
    public static Yh createForMap(Map<String, Object> map){
    	Yh obj = new Yh();
	    obj.id = SK_Map.getInt("id", map);
	    obj.nc = SK_Map.getString("nc", map);
	    obj.yy = SK_Map.getString("yy", map);
	    obj.zh = SK_Map.getString("zh", map);
	    obj.mm = SK_Map.getString("mm", map);
	    obj.bs = SK_Map.getInt("bs", map);
	    obj.jbs = SK_Map.getInt("jbs", map);
	    obj.jb = SK_Map.getInt("jb", map);
	    obj.s = SK_Map.getInt("s", map);
	    obj.tl = SK_Map.getInt("tl", map);
	    obj.xld = SK_Map.getInt("xld", map);
	    obj.sb = SK_Map.getString("sb", map);
	    obj.sbxt = SK_Map.getString("sbxt", map);
	    obj.sbbh = SK_Map.getString("sbbh", map);
	    obj.fbl = SK_Map.getString("fbl", map);
	    obj.qd = SK_Map.getString("qd", map);
	    obj.yhlx_id = SK_Map.getInt("yhlx_id", map);
	    obj.yhlvl = SK_Map.getInt("yhlvl", map);
	    obj.yhlvl_exp = SK_Map.getInt("yhlvl_exp", map);
	    obj.vip = SK_Map.getInt("vip", map);
	    obj.vip_exp = SK_Map.getInt("vip_exp", map);
	    obj.czje = SK_Map.getInt("czje", map);
	    obj.xy = SK_Map.getInt("xy", map);
	    obj.khdbb = SK_Map.getString("khdbb", map);
	    obj.fwq_id = SK_Map.getInt("fwq_id", map);
	    obj.zclvl = SK_Map.getInt("zclvl", map);
	    obj.nmzs = SK_Map.getInt("nmzs", map);
	    obj.kxnm = SK_Map.getInt("kxnm", map);
	    obj.lm_id = SK_Map.getInt("lm_id", map);
	    obj.btrsdid = SK_Map.getInt("btrsdid", map);
	    obj.sdqtrid = SK_Map.getInt("sdqtrid", map);
	    obj.xsrwsy = SK_Map.getInt("xsrwsy", map);
	    obj.sltysycs = SK_Map.getInt("sltysycs", map);
	    obj.bltysycs = SK_Map.getInt("bltysycs", map);
	    obj.wltysycs = SK_Map.getInt("wltysycs", map);
	    obj.mfcqjncs = SK_Map.getInt("mfcqjncs", map);
	    obj.kqfbid = SK_Map.getInt("kqfbid", map);
	    obj.zdl = SK_Map.getInt("zdl", map);
	    obj.jjcexp = SK_Map.getInt("jjcexp", map);
	    obj.sytzcs = SK_Map.getInt("sytzcs", map);
	    obj.gmkbs = SK_Map.getInt("gmkbs", map);
	    obj.wzszgdjyxid = SK_Map.getInt("wzszgdjyxid", map);
	    obj.wzszgdjyxlvl = SK_Map.getInt("wzszgdjyxlvl", map);
	    obj.cbfw = SK_Map.getString("cbfw", map);
        return obj;
    }
    
    public static Yh createForJson(String json){
    	Map<String, Object> map = JSON.parseObject(json);
    	return createForMap(map);
    }
    
    public static List<Yh> createForJson(List<String> jsons){
    	List<Yh> yhs = new ArrayList<Yh>();
    	for(String json : jsons){
    		yhs.add(createForJson(json));
    	}
    	return yhs;
    }
    
    /** 延迟插入数据库 */
    public Yh insert(){
    	return YhCache.insert(this);
    }
    /** 延迟更新数据库 */
    public Yh update(){
    	return YhCache.update(this);
    }
    /** 延迟删除数据库 */
    public boolean delete(){
    	return YhCache.delete(this);
    }
    /** 即时插入数据库 */
    public Yh insertAndFlush(){
    	return YhCache.insertAndFlush(this);
    }
    /** 即时更新数据库 */
    public Yh updateAndFlush(){
    	return YhCache.updateAndFlush(this);
    }
    /** 即时删除数据库 */
    public boolean deleteAndFlush(){
    	return YhCache.deleteAndFlush(this);
    }
}